#pragma once
#include "ISoundSystem.h"

#include"al.h"
#include"alc.h"
#include"efx.h"
#include"efx-creative.h"
#include"xram.h"
#include "aldlist.h"

namespace Sound{
	class SoundSystemOpenAL : public ISoundSystem{
	public:
		SoundSystemOpenAL();
		~SoundSystemOpenAL();

		void loadSoundDB(std::string folder);

		bool update();

	protected:
		bool initialize();
		void finalize();

	private:
		ALCdevice *m_soundDevice;
		ALCcontext *m_soundContext;
	};
}